<form method="post" action="changeEvent.php">
	<input type="hidden" name="eid" id="eid" value="edit_eventid"/>
	<table>
		<thead>
			<tr>
				<th colspan="2">
					Edit Event
				</th>	
			</tr>	
		</thead>	
		<tbody>
			<tr>
				<td>
					<b>Name: </b>
				</td>
				<td>	
					<input type="text" name="edit_eventname" id="edit_eventname" size="45" />
				</td>
			</tr>
			<tr>	
				<td>
					<b>Time: </b>
				</td>
				<td>	
					<input type="text" name="edit_eventsdate" id="edit_eventsdate" size="11" onchange="dateIsValid(this, 'mm/dd/yyyy')" onclick="wipe(this, 'mm/dd/yyyy')" onfocus="wipe(this, 'mm/dd/yyyy')" onBlur="dateIsValid(this, 'mm/dd/yyyy')" value="mm/dd/yyyy" />
					<img src="images/calendar.gif" width="20px" height="20px" align="top" id="edit_esd_cal_trigger" style="cursor:pointer; display:inline"/>
					<input type="text" name="edit_eventstime" id="edit_eventstime" onBlur="timeIsValid(this, 'hh:mm a/pm')" value="hh:mm a/pm" onfocus="wipe(this, 'hh:mm a/pm')" size="11" style="display:inline" /><span id="edit_to"> to </span><input type="text" name="edit_eventetime" id="edit_eventetime" onBlur="timeIsValid(this, 'hh:mm a/pm')" value="hh:mm a/pm" onfocus="wipe(this, 'hh:mm a/pm')" size="11" style="display:inline"/>
					<input type="text" name="edit_eventedate" id="edit_eventedate" size="11" onclick="wipe(this, 'mm/dd/yyyy')" onfocus="wipe(this, 'mm/dd/yyyy')" onBlur="dateIsValid(this, 'mm/dd/yyyy')" value="mm/dd/yyyy" style="display:inline" />
					<img src="images/calendar.gif" width="20px" height="20px" align="top" id="edit_eed_cal_trigger" style="cursor:pointer;" />
					<input type="checkbox" id="edit_allDay" name="edit_allDay" onclick="toggleTargetR('edit_allDay', new Array('edit_eventstime', 'edit_to', 'edit_eventetime', 'edit_eventedate', 'edit_eed_cal_trigger'))" style="display:inline"/> all day
				</td>	
			</tr>
			<tr>
				<td>	
					<b>Location: </b>
				</td>
				<td>	
					<input type="text" name="edit_eventloc" id="edit_eventloc" size="45"/>
				</td>
			</tr>
			<tr>
			<td valign=top>		
				<b>Description: </b>
			</td>
			<!--<td>&nbsp;</td>
			</tr>
			<tr> 
				<td>&nbsp;</td> -->
				<td colspan="2">	
					<textarea name="edit_eventdesc" id="edit_eventdesc" cols="60" rows="5"></textarea>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="Edit Event" /> <input type="button" value="Cancel" onclick="cancel(resetEditEventForm)"/>
				</td>
			</tr>
		</tbody>
	</table>				
</form>
